package com.ssm.demo.service;

import com.ssm.demo.pojo.Book;
import com.ssm.demo.pojo.PageBean;
import com.ssm.demo.pojo.VO.ResultVO;

public interface BookService {
     ResultVO<PageBean<Book>> getBooks(Integer pageNum, Integer pageSize);

     ResultVO<Integer> delBook(Integer bookId);

     ResultVO<Book> addBook(Book book);
}
